Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo code changes #718

Closed
wants to merge 2 commits into from
Closed

Demo code changes #718

wants to merge 2 commits into from

Conversation

kyzooghost
Copy link
Contributor

This PR implements issue(s) #

Checklist

  • I wrote new tests for my new core changes.
  • I have successfully ran tests, style checker and build against my new changes locally.
  • I have informed the team of any breaking changes if there are any.

@kyzooghost kyzooghost requested a review from a team as a code owner February 20, 2025 10:28
@kyzooghost kyzooghost requested a deployment to docker-build-and-e2e February 20, 2025 10:29 — with GitHub Actions Waiting
_pauseTypeStatusesBitMap &= ~(1 << uint256(_pauseType));
emit UnPaused(_msgSender(), _pauseType);
}

/**
* @notice Unpauses functionality by specific type when pause period has expired.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @notice Unpauses functionality by specific type when pause period has expired.
* @notice Unpauses functionality by pause type when pause period has expired.

/// @dev Note: This was reduced previously to cater for new functionality.
uint256[7] private __gap;
/// @dev Do not add any new storage variables to the contract. Instead add new variables to the PauseManagerStorage struct.
/// @dev __gap is deprecated in favour of the ERC-7201 Namespaced Storage pattern
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// @dev __gap is deprecated in favour of the ERC-7201 Namespaced Storage pattern
/// @dev __gap is deprecated in favor of the ERC-7201 Namespaced Storage pattern and remains for layout structure.

Comment on lines +163 to +164
bool isSecurityCouncil = hasRole(SECURITY_COUNCIL_ROLE, _msgSender());
if (isSecurityCouncil) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
bool isSecurityCouncil = hasRole(SECURITY_COUNCIL_ROLE, _msgSender());
if (isSecurityCouncil) {
if (hasRole(SECURITY_COUNCIL_ROLE, _msgSender())) {

@kyzooghost kyzooghost closed this Feb 20, 2025
@kyzooghost kyzooghost deleted the feat/pause-cooldown branch February 20, 2025 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants